package springcloud.config;

import org.springframework.cloud.stream.annotation.EnableBinding;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springcloud.subscrib.DefaultMessageListener;
import springcloud.subscrib.DefaultStream;

/**
 * @author xiaolong
 * @version 1.0
 * @description: 直接配置到一个服务模块bus-skd
 * @date 2021/10/11 17:05
 */
//@Configuration
//@EnableBinding(DefaultStream.class)
//public class AutoConfiguration {
//
//    @Bean
//    public DefaultMessageListener defaultMessageListener(){
//        return new DefaultMessageListener();
//    }
//}
